package camid.distribution.protocol;

import java.io.Serializable;

public class InvocationDescriptor implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 470984392053567096L;
	
	private String sessionId;
	
	private String objectId;
	
	private String entityClass;
	
	private String method;
	
	private Object[] params;
	
	
	
	public InvocationDescriptor(String sessionId, String objectId,
			String entityClass, String method, Object[] params) {
		super();
		this.sessionId = sessionId;
		this.objectId = objectId;
		this.entityClass = entityClass;
		this.method = method;
		this.params = params;
	}

	public InvocationDescriptor()
	{
		
	}
	
	public String getObjectId() {
		return objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getEntityClass() {
		return entityClass;
	}

	public void setEntityClass(String clazz) {
		this.entityClass = clazz;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public Object[] getParams() {
		return params;
	}

	public void setParams(Object[] params) {
		this.params = params;
	}
	
	
	
}
